package com.itheima.reggie.entity.dto.employee;

import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
import lombok.Data;

import java.io.Serializable;

/**
 * 添加员工DTO
 *
 * @Name : EmpAddDTO
 * @Author : WuQiang
 * @Date : 2022-08-11 11:42
 * @Description : 添加员工DTO
 */
@Data
public class EmpAddDTO implements Serializable {
    private static final long serialVersionUID = 1L;
    @JsonSerialize(using = ToStringSerializer.class)
    private Long id;
    private String name;
    private String phone;
    private String sex;
    private String idNumber;
    private String username;
}
